﻿using System;

using System.Collections.Generic;
using System.Text;

namespace ScannerApp.ScannerWebserviceWrapper
{
    //提供默认的接口实现
    public class BaseOrderResult : IScanProduct
    {
        #region IScanProduct 成员
        public virtual bool IsProductCodeInOrder(string productCode)
        {
            return false;
        }

        public virtual bool IsBatchCodeInOrder(string batchCode)
        {
            return true;
        }

        public virtual bool IsProductEnablingQR(string productCode)
        {
            return false;
        }

        public virtual String GetHeaderInfo()
        {
            return String.Empty;
        }

        public virtual bool IsQRInOrder(string barcode)
        {
            return false;
        }

        public virtual bool IsScanShelfAfterQuantity()
        {
            return false;
        }

        public virtual bool IsScanQRAfterProduct()
        {
            return true;
        }

        public virtual bool IsCanScanProductCode(string productCode)
        {
            return true;
        }

        public virtual bool IfLotInOrder(String productCode, String lot)
        {
            return true;
        }

        #endregion
    }
}
